package service;

import java.util.List;

import persistence.model.TdfkfaDeclareUnit;

public interface UnitService {

    public String saveUnit(TdfkfaDeclareUnit unit);
    
    public String modifyUnit(TdfkfaDeclareUnit unit);

    public List<TdfkfaDeclareUnit> getUnitList(int pageIndex, int pageSize);

    public int countUnit();

    public TdfkfaDeclareUnit getUnit(Integer unitId);

    public int updateUnit(TdfkfaDeclareUnit unit);

    public void deleteUnit(Integer[] ids);
}
